package com.gxa.modules.pc.hospital.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.modules.model.dto.PackageDto;
import com.gxa.modules.model.entity.hospital.Package;
import com.gxa.modules.model.vo.PackageVo;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 套餐信息 Mapper 接口
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 05:04:59
 */
@Mapper
public interface PackageMapper extends BaseMapper<Package> {
    List<PackageDto> queryAll(PackageVo packageVo);
    Integer count();
    void updateStateById(Integer id,Integer state);
    Package queryById(Integer id);
    List<Integer> queryAllByPackageId(Integer id);
    void update(Package apackage);
    Integer countByTypeId(Integer id);
    List<String> queryByTypeId(Integer id);

}
